package com.book.mapper;


import com.commons.entity.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface BookMapper {

    @Select("select * from book where bid = #{bid}")
    Book findByBid(Integer bid);  //查询书籍信息
}
